import React, { Component } from 'react'
import './index.css'
class Myfooter extends Component {
    render() {
        let {items} = this.props
        return (<div className="footer-container">
            已经完成{items.filter(item=>item.checked).length}个，剩余10个
        </div>)
    }
}

export default Myfooter